package com.fzdy.product.service.impl;


import com.fzdy.product.dao.ControllerDao;
import com.fzdy.product.entity.Controller;
import com.fzdy.product.service.ControllerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ControllerServiceImpl implements ControllerService {
    @Autowired
    ControllerDao controllerDao;

    @Override
    public List<Controller> getAll() {
        return controllerDao.findAll();
    }
}
